package com.ruoyi.project.goods.order.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单对象 goods_order
 * 
 * @author lonsn
 * @date 2020-11-12
 */
public class GoodsOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private Double orderMoney;

    /** 订单时间 */
    @Excel(name = "订单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 订单日期 */
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDate;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer status;

    /** 操作员 */
    @Excel(name = "操作员")
    private String createBy;
    /** 门店id */
    @Excel(name = "deptId")
    private Integer deptId;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;



    /** 支付渠道 */
    @Excel(name = "支付渠道")
    private Integer payChannelId;

    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setOrderMoney(Double orderMoney)
    {
        this.orderMoney = orderMoney;
    }

    public Double getOrderMoney()
    {
        return orderMoney;
    }
    public void setOrderTime(Date orderTime)
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime()
    {
        return orderTime;
    }
    public void setOrderDate(Date orderDate)
    {
        this.orderDate = orderDate;
    }

    public Date getOrderDate()
    {
        return orderDate;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setMemo(String memo)
    {
        this.memo = memo;
    }

    public String getMemo()
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNo", getOrderNo())
            .append("orderMoney", getOrderMoney())
            .append("orderTime", getOrderTime())
            .append("orderDate", getOrderDate())
            .append("status", getStatus())
             .append("memo", getMemo())
                .append("deptId", getDeptId()).toString();
    }

    public Integer getPayChannelId() {
        return payChannelId;
    }

    public void setPayChannelId(Integer payChannelId) {
        this.payChannelId = payChannelId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }


}
